package ntd.fx;

import javafx.fxml.FXML;
import javafx.fxml.FXMLLoader;
import javafx.fxml.Initializable;
import javafx.scene.control.MenuBar;
import javafx.scene.layout.AnchorPane;
import javafx.scene.layout.BorderPane;

import java.io.IOException;
import java.net.URL;
import java.util.ResourceBundle;

public class MainController implements Initializable {

    @FXML
    private MenuBar menuBar;
    @FXML
    private BorderPane box;

    @Override
    public void initialize(URL url, ResourceBundle resourceBundle) {
//        menuBar.prefWidthProperty().bind(box.widthProperty());
    }

    public void changePanel(String code) {
//        box.setCenter();
    };
}